package cn.edu.scau.cmi.suyaoxing.composite.consistent;

import java.util.ArrayList;
import java.util.List;


public interface ConsistentComponent {
	String doSomething();
	List<ConsistentComponent> childs = new ArrayList<ConsistentComponent>();
	public void addChild(ConsistentComponent child);
	public void removeChild(int index);
}
